package com.gisocn.onemap.ui.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.gisocn.onemap.model.LayerSelectBean;
import com.gisocn.onemap.sgzx.R;
import java.util.List;

/* loaded from: classes2.dex */
public class LayerSelectAdapter extends BaseQuickAdapter<LayerSelectBean, BaseViewHolder> {
    public LayerSelectAdapter(int i, List<LayerSelectBean> list) {
        super(i, list);
    }

    /* JADX INFO: Access modifiers changed from: protected */
    @Override // com.chad.library.adapter.base.BaseQuickAdapter
    public void convert(BaseViewHolder baseViewHolder, LayerSelectBean layerSelectBean) {
        baseViewHolder.setText(R.id.tvName, layerSelectBean.getName()).setGone(R.id.vLine, getItemPosition(layerSelectBean) == 0);
    }
}
